package com.cyl.h5.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 下订单 oms_place_order
 *
 * @author zcc
 */
@ApiModel(description = "下订单对象")
@Data
@TableName("oms_place_order")
public class PlaceOrder extends BaseAudit {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("商品id")
    @Excel(name = "商品id")
    private Long productId;

    @ApiModelProperty("商品名")
    @Excel(name = "商品名")
    private String productName;

    @ApiModelProperty("商品数量")
    @Excel(name = "商品数量")
    private Integer productCount;

    @ApiModelProperty("联系人")
    @Excel(name = "联系人")
    private String contactUserName;

    @ApiModelProperty("联系电话")
    @Excel(name = "联系电话")
    private String contactPhone;

    @ApiModelProperty("单位名称")
    @Excel(name = "单位名称")
    private String companyName;

    @ApiModelProperty("标记时间")
    @Excel(name = "标记时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime markTime;


    @ApiModelProperty("标记状态（1:客服未处理，2:客服处理中，3:客服已联系）")
    @Excel(name = "标记状态（1:客服未处理，2:客服处理中，3:客服已联系）")
    private Integer markStatus;

    @ApiModelProperty("标记记录")
    @Excel(name = "标记记录")
    private String markRemarks;


    @ApiModelProperty("收货地址")
    @Excel(name = "收货地址")
    private String shippingAddress;

    @ApiModelProperty("订单编号")
    @Excel(name = "订单编号")
    private String orderNum;
}
